/* Hero container */
.Saas-hero {
  position: relative;
  background:
    /* linear-gradient(rgba(136, 234, 240, 0.6), rgba(240, 90, 40, 0.6)), */
    url('../img/website/earth.png') no-repeat center center/cover;
  height: 60vh;
  display: flex;
  align-items: flex-end;
  /* 👈 push content to bottom */
  justify-content: flex-start;
  text-align: left;
  color: white;
  overflow: hidden;
  padding: 40px 8%;
  /* 👈 space inside */
}

/* Shadow text behind main heading */
.shadow-text {
  font-size: 7rem;
  /* bigger than main headline */
  font-weight: 800;
  color: rgba(255, 255, 255, 0.183);
  /* faded shadow effect */
  position: absolute;
  top: 85px;
  /* move slightly upward */
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* Main headline - bottom left */
.main-heading {
  font-size: 3.5rem;
  /* smaller size */
  font-weight: 900;
  color: #fdffff;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  animation: fadeUp 1.5s ease;
  margin-bottom: 15px;
}

/* Subtext */
.hero-content p {
  font-size: 1.2rem;
  /* 👈 smaller for readability */
  color: #fff;
  margin-bottom: 60px;
  /* space before button */
  z-index: 2;
  position: relative;
  animation: fadeUp 2s ease;
  max-width: 500px;
  /* keep tidy */
}

/* Scroll down button - bottom center */
.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #fff;
  text-decoration: none;
  animation: bounce 2s infinite;
}

/* Request For Call */
.services-request-call {
  position: fixed;
  top: 40%;
  right: -52px;
  transform: rotate(-90deg);
  background: #009CA6;
  padding: 1px 13px;
  border-radius: 5px 5px 0 0;
  z-index: 1000;
}

.services-request-call a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

/* Bounce animation */
@keyframes bounce {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 10px);
  }
}

/* Animations */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animations */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .shadow-text {
    font-size: 4rem;
  }

  .main-heading {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-heading {
    font-size: 2rem;
  }

  .content .line {
    font-size: 1rem;
  }
}

/* Customers section */
.business-automation {
  padding: 35px 20px;
  background: #ffffff;
  color: #444444;
  position: relative;
}

.sas-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.content {
  flex: 1;
}

.info {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 35px;
  padding: 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.info:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgb(35, 244, 230);
  background: #fff;
}

.info:hover .text p {
  color: rgb(88, 86, 86);
}

.section-heading {
  font-size: 3.5rem;
  font-weight: 900;
  color: #009CA6;
  text-align: left;
  margin-bottom: 10px;
  animation: zoomIn 1s ease forwards;
  /* Zoom animation */
}

.line h3 {
  columns: rgb(242, 109, 56);
}

.line {
  text-align: justify;
  font-size: large;
}

.automation-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.automation-image img {
  width: 100%;
  max-width: 550px;
  border-radius: 0;
  box-shadow: 0 10px 25px rgba(6, 5, 5, 0.15);
  animation: continuousZoomOut 6s ease-in-out infinite;
  /* 👈 continuous animation */
  transition: box-shadow 0.3s ease;
}

/* Continuous Zoom-Out Keyframes */
@keyframes continuousZoomOut {
  0% {
    transform: scale(1.1);
    /* start slightly zoomed in */
  }

  50% {
    transform: scale(1);
    /* zoomed out */
  }

  100% {
    transform: scale(1.1);
    /* back to normal */
  }
}

/* Optional hover glow effect */
.automation-image img:hover {
  box-shadow: 0 12px 30px rgba(38, 219, 210, 0.744);
}

.core-offerings {
  padding: 100px 8%;
  position: relative;
  color: #fff;
  background: linear-gradient(rgba(136, 234, 240, 0.6), rgba(240, 90, 40, 0.6)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  background-attachment: fixed;
  /* parallax effect */
  overflow: hidden;
}

/* Subtle texture overlay */
.core-offerings::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(2, 207, 222, 0.4), rgba(240, 90, 40, 0.3));
  z-index: 0;
}

.container {
  position: relative;
  z-index: 2;
}

.section-title {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 70px;
  color: #01070a;
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.6);
}

/* Keyframes for zoom-in */
@keyframes zoomIn {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}


.offerings-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.offering-box {
  background: rgba(0, 0, 0, 0.65);
  /* dark glass background */
  padding: 35px;
  border-radius: 20px;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7),
    0 0 20px rgba(56, 189, 248, 0.2);
  position: relative;
  animation: floatUp 1s ease forwards;
  transform: translateY(40px);
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

/* On hover */
.offering-box:hover {
  transform: translateY(-10px) scale(1.03);
  background: rgba(0, 124, 130, 0.75);
  /* teal tint on hover */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.85),
    0 0 30px rgba(56, 189, 248, 0.45),
    0 0 50px rgba(240, 90, 40, 0.35);
}


/* Gradient glow effect behind each box */
.offering-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(#38bdf8, #facc15, #22c55e, #38bdf8);
  animation: rotateGlow 6s linear infinite;
  opacity: 0.2;
  z-index: 0;
}

.offering-box h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #5edcf0;
  position: relative;
  z-index: 2;
}

.offering-box p,
.offering-box ul {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.offering-box ul {
  list-style: none;
  padding: 0;
}

.offering-box ul li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 10px;
}

.offering-box ul li::before {
  content: "";
  position: absolute;
  left: 0;
  color: #38bdf8;
  font-weight: bold;
}

.result {
  font-weight: bold;
  color: #eded19;
}

.stack {
  font-style: italic;
  color: #eded19;
  font-weight: 100;
}

/* Animations */
@keyframes floatUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* Floating effect */
@keyframes floaty {
  from {
    transform: translateY(0px);
  }

  to {
    transform: translateY(-15px);
  }
}

/* Scrolling effect */
@keyframes scrollText {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}


/* =========================
  MOBILE RESPONSIVE STYLES
   ========================= */
@media (max-width: 992px) {
  .hero {
    height: 70vh;
    padding: 20px 5%;
    align-items: flex-end;
  }

  .shadow-text {
    font-size: 4.5rem;
    top: 30%;
  }

  .main-heading {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1rem;
    max-width: 90%;
  }

  .scroll-down {
    font-size: 1.5rem;
    bottom: 15px;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .section-heading {
    font-size: 2.2rem;
  }

  .automation-image img {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    height: 70vh;
    text-align: center;
  }

  .shadow-text {
    font-size: 3.5rem;
    top: 45%;
    transform: translate(-50%, -50%);
  }

  .main-heading {
    font-size: 2rem;
    text-align: center;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin: 15px auto;
    text-align: center;
  }

  .scroll-down {
    font-size: 1.2rem;
    bottom: 10px;
  }

  .sas-container {
    flex-direction: column;
    gap: 30px;
  }

  .automation-image img {
    max-width: 100%;
    border-radius: 10px;
  }

  .offerings-row {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .offering-box {
    padding: 25px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .happy-client .scroll-text h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 60vh;
    padding: 10px;
  }

  .shadow-text {
    font-size: 2.5rem;
    top: 50%;
  }

  .main-heading {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.85rem;
  }

  .scroll-down {
    font-size: 1rem;
  }

  .section-title,
  .section-heading {
    font-size: 1.8rem;
  }

  .offering-box h3 {
    font-size: 1.3rem;
  }

  .offering-box p,
  .offering-box ul {
    font-size: 1rem;
  }

  .happy-client .scroll-text h2 {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }
}

/* Mobile "hover" effect using tap (active state) */
@media (max-width: 768px) {
  .offering-box:active {
    transform: scale(0.97);
    background: rgba(0, 124, 130, 0.9);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.4);
  }
}

/* Mobile active image effect */
@media (max-width: 768px) {
  .automation-image img:active {
    transform: scale(0.98);
    box-shadow: 0 10px 20px rgba(240, 90, 40, 0.6);
  }
}

/* Mobile tap-to-pause */
@media (max-width: 768px) {
  .scroll-text:active {
    animation-play-state: paused;
    color: #ff6600;
    /* 👈 optional feedback on tap */
  }
}